package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 员工资料表
 * </p>
 *
 * @author hpiggy
 * @since 2023-12-28
 */
@Data
@TableName("staff_data")
@ApiModel(value = "StaffData对象", description = "员工资料表")
public class StaffData implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("所在校区（可选）")
    private Long schoolId;

    @ApiModelProperty("老师id")
    private Long teacherId;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("学期")
    private Integer quarterNum;

    @ApiModelProperty("优势")
    private String advantage;

    @ApiModelProperty("优势案例")
    private String advantageCase;

    @ApiModelProperty("不足")
    private String deficiency;

    @ApiModelProperty("不足案例")
    private String deficiencyCase;

    @ApiModelProperty("测评，小学分数")
    private BigDecimal primaryScore;

    @ApiModelProperty("测评，初中分数")
    private BigDecimal highScore;

    @ApiModelProperty("测评，综合分数")
    private BigDecimal combineScore;

    @ApiModelProperty("创建人")
    @TableField(fill = FieldFill.INSERT)
    private Long createdId;

    @ApiModelProperty("添加时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}
